Eval function not loading libraries in R